package com.tlcx.kfip.listener;

import android.content.Context;
import android.widget.ImageView;

import com.youth.banner.loader.ImageLoader;

/**
 * Created by victor on 2016/10/31 16:40.
 * Email:zhuzhaoyang@yuanchuangyun.com
 */

public class FrescoImageLoader implements ImageLoader {

    private Context context;

    public FrescoImageLoader(Context context){
        this.context = context;
    }

    @Override
    public void displayImage(Context context, Object path, ImageView imageView) {
        imageView.setImageResource((Integer) path);
    }
}
